<?php
require_once(PATH."./config/db.php");

class SQL extends mysqli
{
	function __construct()
	{
		global $database;
		parent::__construct($database['host'], $database['login'], $database['password'], $database['db_name'], $database['port']);
	}
		
}

?>